<include file="../Public/header" />

<include file="../Public/topnav" />

<!-- Main wrapper -->
<div class="wrapper three-columns">

    <include file="../Public/leftsidebar" />
    
    <!-- Main content -->
    <div class="content">
    		<if condition="$Think.config.admin_notice">
        <!-- Info notice -->
        <div class="notice outer">
            <div class="note note-danger">
                <button type="button" class="close">×</button>
                {$Think.config.admin_notice}
            </div>
        </div>
        <!-- /info notice -->
    		</if>
    		<div class="outer">
	        	<div class="inner">
	                {__CONTENT__}
	          </div>
        </div>
    </div>
    <!-- /main content -->

    <!-- Right sidebar -->
    <div class="sidebar" id="right-sidebar">
        <div class="appendable">
        
            <!-- Sidebar stats -->
            <ul class="topstats block">
                <li>
                    <div class="left">蜘蛛爬行统计:<h1>{$sitechart.spider_sum}</h1></div>
                    <div class="topchart" id="spiders">{$sitechart.spider}</div>
                </li>
                <li>
                    <div class="left">每日更新频率:<h1>{$sitechart.count_sum}</h1></div>
                    <div class="topchart" id="todaynews">{$sitechart.count}</div>
                </li>
                <li>
                    <div class="left">用户访问统计:<h1>{$sitechart.user_sum}</h1></div>
                    <div class="topchart" id="todayviews">{$sitechart.user}</div>
                </li>
            </ul>
            <!-- /sidebar stats -->
            
            <div class="separator-doubled"></div>
            
            <!-- Link Stats -->
            <ul class="user-list links-list checklink sidebar-links block">
                <li class="align-center active links-title"><a>友情链接检查</a></li>
                <volist name="defaultlinks" id="dl">
                	<eq name="dl.linktype" value="3"><li><a href="{$dl.url}" title=""><i class="icon-question-sign icon-white"></i>{$dl.title}<span class="status_away"></span></a></li></eq>
                	<eq name="dl.linktype" value="4"><li><a href="{$dl.url}" title=""><i class="icon-remove icon-white"></i>{$dl.title}<span class="status_off"></span></a></li></eq>
                	<if condition="$dl[linktype] lt 3"><li class="link"><a href="{$dl.url}" title=""><i class="icon-ok icon-white"></i>{$dl.title}<span class="status_available"></span></a></li></if>
                </volist>
            </ul>
            <!-- /Link Stats -->
                                
        </div>
    </div>
    <!-- /right sidebar -->
    
</div>
<!-- /main wrapper -->

</body>
</html>